Smush\Core\CDN\CDN_Helper B

Total Complexity 76
Dependencies 5
Dependents 13
Total lines 451
Lines of code 235
Logical lines of code 129
Comment lines 126
Methods 27
Properties 8

Methods 27

Method Rating Maintainability Complexity Lines of code
guess_dimensions_from_image_markup()
A
50 10 29
get_cdn_status_string()
A
53 10 21
is_supported_url()
A
53 8 24
check_mapped_domain()
S
54 5 22
check_cdn_status()
S
60 5 16
get_site_url()
S
58 4 16
generate_cdn_url()
S
59 3 14
check_if_pro()
S
73 3 5
is_cdn_active()
S
72 2 6
check_is_cdn_active()
S
75 2 4
get_instance()
S
71 2 6
get_cdn_status()
S
72 2 6
is_url_extension_supported()
S
68 2 7
is_pro()
S
72 2 6
is_url_scheme_supported()
S
75 2 4
get_cdn_base_url()
S
72 2 6
is_wpmudev_staging_environment()
S
78 2 3
set_settings()
S
81 1 3
get_cdn_parameters()
S
64 1 10
__construct()
S
76 1 4
prepare_cdn_base_url()
S
72 1 5
get_cdn_status_setting()
S
80 1 3
set_is_pro()
S
81 1 3
set_cdn_status()
S
81 1 3
set_cdn_active()
S
81 1 3
get_cdn_custom_uploads_dir()
S
79 1 3
skip_image()
S
78 1 3